
import java.util.HashMap;
import org.w3c.dom.Document;

public class SearchNewReleases {

    public static void main(String[] args) {

        HashMap<String, String> params = new HashMap<String, String>();
        params.put("Service", "AWSECommerceService");
        params.put("Operation", "ItemSearch");
        params.put("Version", "2011-08-11");
        params.put("SearchIndex", "Books");
        params.put("BrowseNode", "62");
        params.put("Sort", "-publication_date");
        params.put("ItemPage", "1");
        params.put("ResponseGroup", "Medium");
        params.put("AWSAccessKeyId", "AKIAJMSSTEDH23JSOXFQ");

        AWSAPICall apiCall = new AWSAPICall();
        apiCall.getResponseInFile(params, "test.xml");
        //Document doc = apiCall.getResponseDOM(params);


    }
}
